/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */

package org.abc;

/**
 * <p>Project: jse2303 - Demo
 * <p>Powered by webrx On 2023-07-14 10:20:55
 * <p>描述：<p>
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Demo {
    public static void main(String[] args) {
        //A父类 B子类关系
        //B a = new B();
        //a.show();

        Person st = new Student();

        Db db = new Db();
        Student st1 = new Student();
        db.save(st1);

        User u = new User();
        db.save(u);

    }
}
